const getters = {

  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  // 用户的id
  id: state => state.user.id,
  // 用户的Socket对象
  webSocket: state => state.user.webSocket,
  // 用户的Token
  token: state => state.user.token,
  // 用户的头像
  avatar: state => state.user.avatar,
  // 用户的名字
  name: state => state.user.name,
  // 用户的朋友列表 ,
  friends: state => state.user.friends,
  // 用户的会话,  以及 ,会话的用户的id,  以及, 对应的聊天消息
  conversation: state => state.message.conversation,
  // 表情消息
  expression: state => state.message.expression,
  // 表情消息的地址
  ServerUrl: state => state.message.ServerUrl

}
export default getters
